package com.wms.domain;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;


@Data
@NoArgsConstructor
@AllArgsConstructor
public class User {
    private Integer id;
    private String username;
    private String empNo;
    private String password;
    private String empName;
    private String role;
    private Integer gender;
    private String phone;
    @JsonSerialize(using = ToStringSerializer.class)
    private Integer isEffective;
//    private LocalDate createTime;
}
